#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <assert.h>
#include <stdio.h>

#define DEBUG 0
#define NOISY_TEST 1

//  unit tests the isGameOver() function.
int main() {
	int i, j;
	struct gameState G;

	G.supplyCount[province] = 0;
	assert(isGameOver(&G) == 1);

	for(i = 0; i < 3; i++) {
		j = rand()%26;
		if (G.supplyCount[j] != 0)
			G.supplyCount[j] = 0;
	}
	assert(isGameOver(&G) == 1);
	printf("All assertions passed\n");

	return 0;
}
